Adwaita: Make selector more specific
authorBenjamin Otte <otte@redhat.com>
Thu, 27 Aug 2015 18:18:40 +0000 (20:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Aug 2015 18:18:40 +0000 (20:18 +0200)
commit34941efc3a481cff8f81224f67d65b73c34df055
treec673c5015fc366dcbd66d3f25e0f33491dc74b4b
parent9ce91a12512e9306af4543e30921adaaa14fcdc5
Adwaita: Make selector more specific

A * selector applies to all widgets, so even GtkBox or GtkGrid - and
most importantly GtkListBoxRow - need to recompute their style because
of the * selector.

By using a more specific one, these common cases aren't affected
anymore.

Fixes slowdowns in gtk3-demo's listbox demo and in gnome-software.
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css